package com.jwm.model;

import org.springframework.stereotype.Component;

/**
 * @author 崔洁
 */
@Component
public class TomcatVo {
    private String name;
    private String time;
    private Integer state = 1;
    private String path;
    private String logPath;
    //加载类数量
    private int beanSize;
    //启动时间
    private String startTime;
    //运行时间
    private String timeSpan;
    //内存使用
    private String usedMemory;
    //内存总量
    private String commitMemory;
    //内存使用率
    private String perMemory;
    //端口
    private String port;
    //当前线程数
    private int currentThreadCount;
    //最大线程数
    private int maxThreads;
    //cpu使用率
    private String systemCpuLoad;

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getLogPath() {
        return logPath;
    }

    public void setLogPath(String logPath) {
        this.logPath = logPath;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public int getCurrentThreadCount() {
        return currentThreadCount;
    }

    public void setCurrentThreadCount(int currentThreadCount) {
        this.currentThreadCount = currentThreadCount;
    }

    public int getMaxThreads() {
        return maxThreads;
    }

    public void setMaxThreads(int maxThreads) {
        this.maxThreads = maxThreads;
    }

    public String getSystemCpuLoad() {
        return systemCpuLoad;
    }

    public void setSystemCpuLoad(String systemCpuLoad) {
        this.systemCpuLoad = systemCpuLoad;
    }

    public String getUsedMemory() {
        return usedMemory;
    }

    public void setUsedMemory(String usedMemory) {
        this.usedMemory = usedMemory;
    }

    public String getCommitMemory() {
        return commitMemory;
    }

    public void setCommitMemory(String commitMemory) {
        this.commitMemory = commitMemory;
    }

    public String getPerMemory() {
        return perMemory;
    }

    public void setPerMemory(String perMemory) {
        this.perMemory = perMemory;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getTimeSpan() {
        return timeSpan;
    }

    public void setTimeSpan(String timeSpan) {
        this.timeSpan = timeSpan;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public int getBeanSize() {
        return beanSize;
    }

    public void setBeanSize(int beanSize) {
        this.beanSize = beanSize;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }
}
